'Declaration Public Overloads Shared Function GenerateHistogramData( _ ByVal RawData() As System.Double, _ ByVal Boundaries() As System.Double, _ ByVal NormalizationWidth As System.Double, _ ByRef IntervalBounds() As System.Double, _ ByRef IntervalCounts() As System.Double, _ ByRef BoundaryIntervals() As System.Double _ ) As System.Boolean
public static System.bool GenerateHistogramData( System.double[] RawData, System.double[] Boundaries, System.double NormalizationWidth, ref System.double[] IntervalBounds, ref System.double[] IntervalCounts, ref System.double[] BoundaryIntervals )
Parameters
- RawData
- Specifies a double array containing data values.
- Boundaries
- Specifies the interval boundaries. The boundaries array is sorted internally, and duplication boundaries are eliminated.
- NormalizationWidth
- Specifies the interval width to be used for normalization. If less than or equal to zero, normalization is not performed.
- IntervalBounds
- A reference to a double array which will receive the actual ordered and trimmed boundaries of the intervals making up the histogram. This array is generated internally from the input Boundaries array.
- IntervalCounts
- A reference to a double array which will receive the count of data points that fall into the interval specified by the IntervalBounds array. The IntervalCounts array will necessarily have one less element than the IntervalBounds array.
- BoundaryIntervals
- A reference to a two element double array which will receive the count of data points that fall outside the specified Boundaries array. Element zero (0) of the array receives the count of data points with values less than the lowest value in the Boundaries array. Element one (1) of the array receives the count of data points with values greater than the highest value in the Boundaries array.
Return Value
A boolean indicating success or failure.